#!/bin/sh

JC_HOME=/home/manuel/Downloads/javacard
PATH=$PATH:$JC_HOME/bin

java -classpath $JC_HOME/lib/converter.jar:$JC_HOME/lib/api.jar com.sun.javacard.converter.Converter -noverify -i -classdir . -out CAP -exportpath $JC_HOME/api_export_files -applet 0xD2:0x76:0x00:0x01:0x18:0x00:0x03:0xFF:0x49:0x10:0x00:0x89:0x00:0x00:0x02:0x01 com.gieseckedevrient.javacard.oath.Oath com.gieseckedevrient.javacard.oath 0xD2:0x76:0x00:0x01:0x18:0x00:0x03:0xFF:0x49:0x10:0x00:0x89:0x00:0x00:0x02:0x00 1.0

cp com/gieseckedevrient/javacard/oath/javacard/oath.cap .
